package com.prs.crm.domain.sys;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
/***
 * 
 * @author Yanghao
 *	2012-8-9 15:24:29 默认桌面设置
 */
@Entity
@Table(name="sys_defaultdesktopset")
public class DefaultDesktopSet extends BaseEntity{

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	@ManyToOne
	private DesktopSet desktopSet;
	private int type;
	private Boolean userDefineDesk;
	private Boolean userAll;
	private String inserCode;
	private String rightName;
	private String rightNameId;
	public String getRightName() {
		return rightName;
	}
	public void setRightName(String rightName) {
		this.rightName = rightName;
	}
	public String getRightNameId() {
		return rightNameId;
	}
	public void setRightNameId(String rightNameId) {
		this.rightNameId = rightNameId;
	}
	public String getInserCode() {
		return inserCode;
	}
	public void setInserCode(String inserCode) {
		this.inserCode = inserCode;
	}
	public Boolean getUserDefineDesk() {
		return userDefineDesk;
	}
	public void setUserDefineDesk(Boolean userDefineDesk) {
		this.userDefineDesk = userDefineDesk;
	}
	public Boolean getUserAll() {
		return userAll;
	}
	public void setUserAll(Boolean userAll) {
		this.userAll = userAll;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public DesktopSet getDesktopSet() {
		return desktopSet;
	}
	public void setDesktopSet(DesktopSet desktopSet) {
		this.desktopSet = desktopSet;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}

}
